

#ifndef __MEMORY
#  define __MEMORY

#  define __KERNEL_TEXT    0x00100000
#  define __KERNEL_BSTAK   0x00200000
#  define __KERNEL_TSTAK   0x00210000
#  define __KERNEL_DATA    0x00210000
#  define __KERNEL_PAGES   0x00300000
#  define __KERNEL_END     0x00700000

extern unsigned int *__kernel_page_dir;
extern unsigned int  __total_memory;

#  define __PG_PRESENT     0x01
#  define __PG_READ_WRITE  0x02
#  define __PG_PRIVLIGE    0x04
#  define __PG_WRITE_THRU  0x08
#  define __PG_CACHE       0x10
#  define __PG_ACCESSED    0x20
#  define __PG_DIRTY       0x40
#  define __PG_INDEX       0x80

#  define __PGD_RESERVED   0x40
#  define __PGD_SIZE       0x80

int __init_kernel_mem();


#endif
